package com.useeinfo.framework.sugar.tools.qiniu;

import com.qiniu.util.Auth;

/**
 * @Auther: xudong.sun
 * @Date: 2019/2/14 09:26
 * @Description:
 */
public class UploadFactory {

    public static UploadUtil createUpload(String accessKey, String secretKeySpec, String bucketHostName, String bucketName) {
        Auth auth = Auth.create(accessKey, secretKeySpec);
        return new QiniuUtil(bucketHostName, bucketName, auth);
    }

}
